package com.atguigu.tingshu.payment.service;

import java.util.Map;

public interface WxPayService {

    /**
     * 对接微信支付获取小程序拉起微信支付所需的参数
     *
     * @param paymentType 支付方式：订单或者充值
     * @param orderNo     订单编号
     * @return {
     * "timeStamp": "1697186259",
     * "package": "prepay_id=wx131637403639638acce1c384c2354f0000",
     * "paySign": "YoUPakYIrNI+9S4LATn+6MPW55K48vPlf2vJeJInuZsNEGaVgoVYH/SI18Gcj8N8b"
     * }
     */
    Map<String, String> createJsapi(String paymentType, String orderNo);
}
